import { controller, get, post } from '../decorator/router'
import user from '../controller/user'

@controller('user')
export class recController {
  @get('/')
  @get('/:id')
  async index(ctx, next) {
    await user(ctx, next)
  }
}
